const defaultBg = !window.is_official ? require('@/assets/images/default/room-icon-default.jpg') : require('@/assets/images/deticateIp/room-default-over.jpg')
function handleImgLoadError (e) {
	this.src = defaultBg
	this.onerror = null
}
export default{
	bind(el,binding){
		el.onerror = handleImgLoadError
	}
}